<template>
  <div class="cur-city-wrap">
    <span class="cur-text">当前城市：</span>
    <span class="iconfont icon-positioning"></span>
    <span class="cur-city">{{this.$store.state.cityName}}</span>
  </div>
</template>

<script>
  export default {
    name: 'CurrentCity',
  }
</script>

<style lang="scss" scoped="scoped">
  @import '~styles/mixins.scss';
  @import '~styles/variables.scss';

  .cur-city-wrap {
    @include flex-row;
    align-items: center;
    height: .5rem;
    padding-left: .16rem;
    background-color: #FFFFFF;
    box-sizing: border-box;
    font-size: .16rem;
    border-bottom: 1px solid #DDDDDD;

    .iconfont {
      vertical-align: .005rem;
      color: $defaultBgColor;
    }
  }
</style>
